package com.jhgsys.internal.common.entity;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @author MrBird
 */
@Data
public class MenuTreeNew<T> implements Serializable {

    private static final long serialVersionUID = 7681873362531265829L;

    private String id;
    private String icon;
    private String url;
    private String title;
    private Map<String, Object> state;
    private boolean checked = false;
    private Map<String, Object> attributes;
    private List<MenuTreeNew<T>> children = new ArrayList<>();
    private String parentId;
    private boolean isParent = false;
    private boolean hasChild = false;
    private String name;
    private String value;
    private String perms;
    private Long orderNum;
    private String type;
    private String status;

    private T data;

}